package org.carabiner.examples;

import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * This example shows all the different rules that the Carabiner inspector uses
 * to help you find problems in your GUI controls
 * 
 * <p>
 * Carabiner Testing Framework
 * </p>
 * 
 * <p>
 * Copyright: GNU Public License (http://www.gnu.org/licenses/gpl.html)
 * </p>
 * 
 * @author Ben Rady (benrady@gmail.com)
 */
public class InspectorExample extends JFrame
{
  public InspectorExample()
  {
    JPanel mainPanel = new JPanel(new FlowLayout());
    mainPanel.add(new JLabel());
    mainPanel.add(new JButton());

    getContentPane().setLayout(new BorderLayout());
    getContentPane().add(mainPanel, BorderLayout.CENTER);
  }
}
